package com.lb.uts.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 首页和统一权限
 *
 * @Author liangb
 * @Date 2019/4/26 15:24
 */
@Controller
public class IndexController {


    /**
     * 首页
     *
     * @return
     */
    @RequestMapping("/")
    public String index() {
        return "index";
    }


    /**
     * 兼容统一权限的首页
     *
     * @return
     */
    @RequestMapping("/gotoIndex")
    public String goIndex() {
        return "index";
    }
}
